<?php
include("db_pgsql.inc");
include("db_mysql.inc");

$sqlstr = "select * from keylist";

$db = DBcnn_mysql::getPDOcnn();
$tmpstmt = $db->prepare($sqlstr);
if(!empty($tmpstmt))
{
	if($tmpstmt->execute())
	{
		while($row = $tmpstmt->fetch(PDO::FETCH_ASSOC))
		{
			var_dump($row);
		}
	}
}
unset($db);
echo "<br>";

$db = DBcnn_pgsql::getPDOcnn();
$tmpstmt = $db->prepare($sqlstr);
if(!empty($tmpstmt))
{
        if($tmpstmt->execute())
        {
                while($row = $tmpstmt->fetch(PDO::FETCH_ASSOC))
                {
                        var_dump($row);
                }
        }
}
unset($db);
echo "<br>";
echo "hello world";

?>
